package com.ethink.warehouse.api.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 辉辉 2023/2/22 10:43
 */
@Data
public class LogisticsTransferOrderReturnExcelModel extends LogisticsTransferOrderExcelModel {

    @Schema(description = "库存id")
    private Long mateInventoryId;

    @Schema(description = "可用库存")
    private Integer availableQty;

    @Schema(description = "成本价")
    private BigDecimal costPrice;

    @Schema(description = "原产国")
    private BigDecimal countryOfOrigin;

    @Schema(description ="生产日期")
    @JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date productDate;

    @Schema(description ="到期日期")
    @JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date expireDate;

    @Schema(description = "品牌")
    private String brandName;

    @Schema(description = "规格")
    private String productSpecification;

    @Schema(description = "单位code")
    private String unitCode;

    @Schema(description = "单位")
    private String unitName;

}
